<div class="block_brand_list container_wrapper">
    <ul class="brand_ul">
        {%- for block in section.blocks -%}
        <li class="brand_li">
            {%- if block.img.src != '' -%}
						{% include 'lazy_img',  src:block.img.src, alt:block.img.alt %}
            {%- endif -%}
            {{block.text}}
        </li>
        {%- endfor -%}
    </ul>
</div>
{% schema %}
{
	"tag": "",
	"class": "block_brand_list",
	"icon": "icon-zhuanjishangpin",
	"is_global": false,
	"name": {
		"zh_CN": "品牌列表",
		"en_US": "Brand list"
	},
	"max_blocks": "10",
	"settings": [
		{
			"type": "card_header",
			"label": {
				"zh_CN": "设置",
				"en_US": "Settings"
			}
		}
	],
	"blocks": [
		{
			"name": {
				"zh_CN": "品牌列表",
				"en_US": "Brand list"
			},
			"type": "brand-item",
			"settings": [
				{
					"type": "card_input",
					"label": {
						"zh_CN": "文本",
						"en_US": "Text"
					},
					"id": "text",
					"default": "brand text"
				},
				{
					"type": "card_image",
					"label": {
						"zh_CN": "图片",
						"en_US": "Image"
					},
					"default": {
						"src": "",
						"alt": ""
					},
					"info": {
						"zh_CN": "建议高度35px以下，宽度自适应",
						"en_US": "Height below 35px, width adaptive"
					},
					"id": "img"
				}
			]
		}
	],
	"default": {
		"settings": {},
		"blocks": [
			{
				"img": {
					"src": "",
					"alt": ""
				},
				"text": "brand text",
				"block_type": "brand-item"
			},
			{
				"img": {
					"src": "",
					"alt": ""
				},
				"text": "",
				"block_type": "brand-item"
			}
		]
	}
}
{% endschema %}